{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}
{style href="style/`$agora_config.o_default_style`/common.css"}
{style href="style/`$agora_config.o_default_style`/index.css"}

<div class="ag_agora">

	<div class="ag_rightend">
		<h2 class="ag_headerbar"><span class="ag_middle">##Add warning##</span></h2>
	</div>

	<form method="post" action="{$self_url}">
		<fieldset class="ag_inform">
			<legend class="ag_color">##Add warning##</legend>
			<div class="ag_infldset">
				<table border="0" cellpadding="0" cellspacing="0" class="ag_search">
					<tbody>
						<tr>
							<td class="ag_right" style="width:220px;">##Select warning##&nbsp;</td>
							<td>
								<select name='form[warning_id]' class="ag_qjump">
									{foreach from=$warnings item=warning}
									<option value="{$warning.id}">{$warning.message}</option>
									{/foreach}
								</select>
							</td>
						</tr>
						<tr>
							<td class="ag_right" style="width:220px;">##Append message##:&nbsp;</td>
							<td>
								<input type="text" name="form[message]" value="" style="width:99%;" />
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</fieldset>
		<div class="ag_postbuttons">
			<span>
				<input type="hidden" name="action" value="save_warning" />
				<input class="ag_button ag_btn_submit" type="submit" name="save" value="##save##" title="##save##" accesskey="s" />
				&nbsp;##or##&nbsp;
				<a href="javascript:void(0);" class="ag_btn_goback" title="##Cancel##" onclick="window.parent.document.getElementById('sbox-window').close();">##Cancel##</a>
			</span>
		</div>
	</form>

</div>